package org.demo.honor.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "order_invoice")
public class OrderInvoiceEntity {

    @Id
    @Column
    private Integer id;
    @Column
    private String name;
    @Column
    private String mobile;
    @Column
    private Integer orderId;
    @Column
    private String paymentId;
    @Column
    private BigDecimal totalAmount;

}
